<!doctype html> 
<html> 
<head> 
    <meta charset="utf-8"> 
    <title></title> 
</head>
<script type="text/javascript">
	window.onload = function(){
		var a = new Date();
		//a.setDate(31);
		//month 0 - zanmen 1
		//8 - 9
		//9  30
		//31  -1
		//month+1 9 10
		alert(a.getDate());
		alert(a.getMonth());

	}
</script>

<body>

<div id='sad' class='asda' lll='1'>
	
</div>
</body>
</html>